﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master"
    Inherits="System.Web.Mvc.ViewPage<HYBYSoft.Company.Models.Article>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content">
        <p>
            <span id="sitemap">当前位置：文章详细</span>
        </p>
        <fieldset>
            <legend>文章<%=Model.Title %>查看</legend>
            <div id="details-title">
                <%: Model.Title %>
            </div>
            <div>
                <div id="details-editor">
                    <%: Html.Label("Editor")%>
                    <%: Model.Editor %></div>
                <div id="details-createtime">
                    <%: Html.Label("CreateTime")%>
                    <%: String.Format("{0:g}", Model.CreateTime) %></div>
            </div>
            <div id="details-contents">
                <%= Model.Contents %>
            </div>
            <br />
            <div id="details-bottom">
                <div style="float:left;">
                    <%: Html.Label("Description")%>：
                </div>
                <div style="float: left;  ">
                    <%: Model.Description %></div>
                <div style=" clear:both;">
                    <div id="lasteditor">
                        <%: Html.Label("LastEditor")%>
                        <%: Model.LastEditor %></div>
                    <div id="lastedittime">
                        <%: Html.Label("LastEditTime")%>
                        <%: String.Format("{0:g}", Model.LastEditTime) %></div>
                </div>
            </div>
        </fieldset>
        <p>
            <%: Html.ActionLink("返回列表", "Index", new { page = ViewBag.PageId })%>
        </p>
</asp:Content>
